package com.atqinke.designpattern.behavioraltype.policy;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.designpattern.behavioraltype.policy
 * @Author: NieHk
 * @CreateTime: 2022-08-28  21:42
 * @Description: 促销员(把促销活动推销给客户)
 * @Version: 1.0
 */
public class SalesMan {
    private Activity activity;

    public SalesMan(Activity activity){
        this.activity = activity;
    }

    //向客户展示促销活动
    public void salesManShow(){
        activity.show();
    }
}
